﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Student
    {
        public string Id { get; set ; }
        public string Name { get ; set; }
        public int Age { get; set ; }
        public Student(string Id,string Name, int Age)
        {
            this.Id = Id;
            this.Name = Name;
            this.Age = Age;
        }



        public override string ToString()
        {
            string info = "学号：" + Id + "姓名：" +Name+ "年龄：" +Age;
            return info;
        }
    }
}
